package com.book.dao;

import com.book.entity.Book;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface BookMapper {
    int delete(Integer bookId);

    int insert(Book record);

    List<Book> select();

    List<Book> selectsearch(@Param("search")String search);
    Book selectByPrimaryKey(Integer bookId);
    int updateByPrimaryKey(Book record);
}